This header supports Squid in forward-proxy mode using HTTP/1.0
HTTP headers. It is not used in production.
Change-Id: I99646c9c5519bd55b3d4988306e379f89d413bdc
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
to be removed in a future release.
+* The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
+ and is expected to be removed in a future release.
* …
=== Other changes in 1.33 ===
* reverse).
*
* @since 1.21
+ * @deprecated since 1.33, will always be true in a future release.
*/
$wgSquidPurgeUseHostHeader = true;
$request[] = "PURGE $path HTTP/1.1";
$request[] = "Host: $host";
} else {
+ wfDeprecated( '$wgSquidPurgeUseHostHeader = false', '1.33' );
$request[] = "PURGE $url HTTP/1.0";
}
$request[] = "Connection: Keep-Alive";